<? session_start();
	if(isset($_SESSION['id']) & isset($_SESSION['pass']))
	{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Form Tambah Nilai</title>
</head>

<body>
<form method="post" action="add_nilai.php">
	<table>
		<tr>
			<td colspan="3">Menu Tambah Nilai Mahasiswa</td>
		</tr>
		<tr>
			<td>NRP</td>
			<td>:</td>
			<td><input name="nrp" type="text"></td>
		</tr>
		<tr>
			<td>Kode MK</td>
			<td>:</td>
			<td><input name="kode" type="text"></td>
		</tr>
		<tr>
			<td>TTT1</td>
			<td>:</td>
			<td><input name="ttt1" type="text"></td>
		</tr>
		<tr>
			<td>TTT2</td>
			<td>:</td>
			<td><input name="ttt2" type="text"></td>
		</tr>
		<tr>
			<td>TTT3</td>
			<td>:</td>
			<td><input name="ttt3" type="text"></td>
		</tr>
		<tr>
			<td>Lain - Lain</td>
			<td>:</td>
			<td><input name="lain" type="text"></td>
		</tr>
		<tr>
			<td>UTS</td>
			<td>:</td>
			<td><input name="uts" type="text"></td>
		</tr>
		<tr>
			<td>UAS</td>
			<td>:</td>
			<td><input name="uas" type="text"></td>
		</tr>
		
		<tr>
			<td>Grade</td>
			<td>:</td>
			<td><input name="grade" type="text"></td>
		</tr>
		<tr>
			<td>SKS</td>
			<td>:</td>
			<td><input name="sks" type="text"></td>
		</tr>
		<tr>
			<td>Periode</td>
			<td>:</td>
			<td><input name="periode" type="text"></td>
		</tr>
		<tr>
			<td><input name="submit" type="submit" value="Save"></td>
			<td>&nbsp;</td>
			<td><input name="reset" type="reset" value="Reset"></td>
		</tr>
	</table>
	<a href="menu_nilai.php">Back to Menu Nilai Mahasiswa</a><br>
	<a href="menu_admin.php">Back to Menu Admin</a>
</form>

</body>
</html>
<? 
	}
	else
	echo "Silahkan <a href='index.php'>Login</a> dulu.";
?>
